package com.enjoyor.soa.traffic.core.tsms.mapper.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.enjoyor.soa.traffic.core.tsms.constant.AssessItemsSqlId;
import com.enjoyor.soa.traffic.core.tsms.constant.CommonPlaceSqlId;
import com.enjoyor.soa.traffic.core.tsms.domain.AssessItemsScore;
import com.enjoyor.soa.traffic.core.tsms.mapper.IAssessItemsScoreMapper;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.impl.BaseMapper;
import com.enjoyor.soa.traffic.util.pojo.Page;

@Service
@Transactional
public class AssessItemsScoreMapper extends BaseMapper<AssessItemsScore> implements IAssessItemsScoreMapper {

	@Override
	public Page getAssessItemScorePage(Page page) {
		// TODO Auto-generated method stub
		return this.selectPageInfo(getSqlName(AssessItemsSqlId.SQL_SELECT_ALL), page);
		
	}

	@Override
	public List<AssessItemsScore> getAssessItemsScoreList(Map map) {
		// TODO Auto-generated method stub
		return sqlSessionTemplate.selectList(getSqlName(AssessItemsSqlId.SQL_SELECT_LIST));
	}
	
}